set Text Color
Changes the color of the text in the selected range to the given color. Required scope: "fill/change"
Parameters
the text block whose color should be changed.
the new color of the selected text range.
the start index of the range whose color should be changed. If the value is negative and the block is currently being edited, this will fall back to the start of the current cursor index / selected range. If the value is negative and the block is not being edited, this will fall back to the start of the entire text range.
the index after the last character whose color should be changed. If the value is negative and the block is currently being edited, this will fall back to the end of the current cursor index / selected range. If the value is negative and the block is not being edited, this will fall back to the end of the entire text range.